<?php

/**
 * Created by PhpStorm.
 * User: evan
 * Date: 2017/8/9
 * Time: 下午2:05
 */
class Playback extends MY_Api_Controller
{
    public function index()
    {
        $uid   = $this->uid;
        $ds_id = (int)$this->input->get_post('ds_id');
        $type  = (int)$this->input->get_post('type');
        $pay_password = trim($this->input->get_post('pay_password'));


        $this->load->service('direct_seeding/service_direct_seeding_playback');
        $data = $this->service_direct_seeding_playback->index($uid, $ds_id, $type, $pay_password);


        $this->json_output($data['data'], $data['status']);
    }
}